<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>6_元素溢出</title>
    <style>
        div {
            /* 溢出现象的前提是div有设置大小，否则会自动被内容撑大，不会产生溢出现象*/
            width: 800px;
            height: 800px;
            border: 5px solid #00f;
            overflow: visible; /*溢出显示 默认值*/
            overflow: hidden; /*溢出隐藏，多余部分裁掉*/
            overflow: scroll;/* 显示拖拽条*/
            overflow: auto; /*自动在溢出的方向添加拖拽条*/
        }
        img {
            width: 200px;
            vertical-align: baseline;/*基线对齐，默认值*/
            vertical-align: bottom;/*底线对齐*/
            vertical-align: top;/*顶线对齐*/
            vertical-align: middle;/*中线对齐*/
        }
    </style>
</head>
<body>
    abyj<img src="../day01/1.png" alt="">国圈<img src="../day01/1.png" alt="">
    <div>
        <img src="../day01/1.png" alt="">
        <img src="../day01/1.png" alt="">
        <img src="../day01/1.png" alt="">
        <img src="../day01/1.png" alt="">
    </div>
</body>
</html>